package com.geekaca.news.mapper;

import com.geekaca.news.domain.AdminUser;
import org.apache.ibatis.annotations.Param;

/**
* @author Peter
* @description 针对表【tb_admin_user】的数据库操作Mapper
* @createDate 2024-02-17 18:19:56
* @Entity com.geekaca.news.domain.AdminUser
*/
public interface AdminUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AdminUser record);

    int insertSelective(AdminUser record);

    AdminUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdminUser record);

    int updateByPrimaryKey(AdminUser record);

    AdminUser selectLoginUser(AdminUser user);

    int selectByPassId(@Param("userId") Integer loginUserId,@Param("userPass") String password);
}
